package com.cxkj.dto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GettableExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GettableExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGidIsNull() {
            addCriterion("gId is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("gId is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(Integer value) {
            addCriterion("gId =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(Integer value) {
            addCriterion("gId <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(Integer value) {
            addCriterion("gId >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("gId >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(Integer value) {
            addCriterion("gId <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(Integer value) {
            addCriterion("gId <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<Integer> values) {
            addCriterion("gId in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<Integer> values) {
            addCriterion("gId not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(Integer value1, Integer value2) {
            addCriterion("gId between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(Integer value1, Integer value2) {
            addCriterion("gId not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGvolumeIsNull() {
            addCriterion("gVolume is null");
            return (Criteria) this;
        }

        public Criteria andGvolumeIsNotNull() {
            addCriterion("gVolume is not null");
            return (Criteria) this;
        }

        public Criteria andGvolumeEqualTo(String value) {
            addCriterion("gVolume =", value, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeNotEqualTo(String value) {
            addCriterion("gVolume <>", value, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeGreaterThan(String value) {
            addCriterion("gVolume >", value, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeGreaterThanOrEqualTo(String value) {
            addCriterion("gVolume >=", value, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeLessThan(String value) {
            addCriterion("gVolume <", value, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeLessThanOrEqualTo(String value) {
            addCriterion("gVolume <=", value, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeLike(String value) {
            addCriterion("gVolume like", value, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeNotLike(String value) {
            addCriterion("gVolume not like", value, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeIn(List<String> values) {
            addCriterion("gVolume in", values, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeNotIn(List<String> values) {
            addCriterion("gVolume not in", values, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeBetween(String value1, String value2) {
            addCriterion("gVolume between", value1, value2, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGvolumeNotBetween(String value1, String value2) {
            addCriterion("gVolume not between", value1, value2, "gvolume");
            return (Criteria) this;
        }

        public Criteria andGsogonameIsNull() {
            addCriterion("gSogoName is null");
            return (Criteria) this;
        }

        public Criteria andGsogonameIsNotNull() {
            addCriterion("gSogoName is not null");
            return (Criteria) this;
        }

        public Criteria andGsogonameEqualTo(String value) {
            addCriterion("gSogoName =", value, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameNotEqualTo(String value) {
            addCriterion("gSogoName <>", value, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameGreaterThan(String value) {
            addCriterion("gSogoName >", value, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameGreaterThanOrEqualTo(String value) {
            addCriterion("gSogoName >=", value, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameLessThan(String value) {
            addCriterion("gSogoName <", value, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameLessThanOrEqualTo(String value) {
            addCriterion("gSogoName <=", value, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameLike(String value) {
            addCriterion("gSogoName like", value, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameNotLike(String value) {
            addCriterion("gSogoName not like", value, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameIn(List<String> values) {
            addCriterion("gSogoName in", values, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameNotIn(List<String> values) {
            addCriterion("gSogoName not in", values, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameBetween(String value1, String value2) {
            addCriterion("gSogoName between", value1, value2, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGsogonameNotBetween(String value1, String value2) {
            addCriterion("gSogoName not between", value1, value2, "gsogoname");
            return (Criteria) this;
        }

        public Criteria andGidnumberIsNull() {
            addCriterion("gIDnumber is null");
            return (Criteria) this;
        }

        public Criteria andGidnumberIsNotNull() {
            addCriterion("gIDnumber is not null");
            return (Criteria) this;
        }

        public Criteria andGidnumberEqualTo(String value) {
            addCriterion("gIDnumber =", value, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberNotEqualTo(String value) {
            addCriterion("gIDnumber <>", value, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberGreaterThan(String value) {
            addCriterion("gIDnumber >", value, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberGreaterThanOrEqualTo(String value) {
            addCriterion("gIDnumber >=", value, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberLessThan(String value) {
            addCriterion("gIDnumber <", value, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberLessThanOrEqualTo(String value) {
            addCriterion("gIDnumber <=", value, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberLike(String value) {
            addCriterion("gIDnumber like", value, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberNotLike(String value) {
            addCriterion("gIDnumber not like", value, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberIn(List<String> values) {
            addCriterion("gIDnumber in", values, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberNotIn(List<String> values) {
            addCriterion("gIDnumber not in", values, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberBetween(String value1, String value2) {
            addCriterion("gIDnumber between", value1, value2, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGidnumberNotBetween(String value1, String value2) {
            addCriterion("gIDnumber not between", value1, value2, "gidnumber");
            return (Criteria) this;
        }

        public Criteria andGphoneIsNull() {
            addCriterion("gPhone is null");
            return (Criteria) this;
        }

        public Criteria andGphoneIsNotNull() {
            addCriterion("gPhone is not null");
            return (Criteria) this;
        }

        public Criteria andGphoneEqualTo(String value) {
            addCriterion("gPhone =", value, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneNotEqualTo(String value) {
            addCriterion("gPhone <>", value, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneGreaterThan(String value) {
            addCriterion("gPhone >", value, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneGreaterThanOrEqualTo(String value) {
            addCriterion("gPhone >=", value, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneLessThan(String value) {
            addCriterion("gPhone <", value, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneLessThanOrEqualTo(String value) {
            addCriterion("gPhone <=", value, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneLike(String value) {
            addCriterion("gPhone like", value, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneNotLike(String value) {
            addCriterion("gPhone not like", value, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneIn(List<String> values) {
            addCriterion("gPhone in", values, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneNotIn(List<String> values) {
            addCriterion("gPhone not in", values, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneBetween(String value1, String value2) {
            addCriterion("gPhone between", value1, value2, "gphone");
            return (Criteria) this;
        }

        public Criteria andGphoneNotBetween(String value1, String value2) {
            addCriterion("gPhone not between", value1, value2, "gphone");
            return (Criteria) this;
        }

        public Criteria andGdrivernumIsNull() {
            addCriterion("gDriverNum is null");
            return (Criteria) this;
        }

        public Criteria andGdrivernumIsNotNull() {
            addCriterion("gDriverNum is not null");
            return (Criteria) this;
        }

        public Criteria andGdrivernumEqualTo(String value) {
            addCriterion("gDriverNum =", value, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumNotEqualTo(String value) {
            addCriterion("gDriverNum <>", value, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumGreaterThan(String value) {
            addCriterion("gDriverNum >", value, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumGreaterThanOrEqualTo(String value) {
            addCriterion("gDriverNum >=", value, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumLessThan(String value) {
            addCriterion("gDriverNum <", value, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumLessThanOrEqualTo(String value) {
            addCriterion("gDriverNum <=", value, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumLike(String value) {
            addCriterion("gDriverNum like", value, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumNotLike(String value) {
            addCriterion("gDriverNum not like", value, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumIn(List<String> values) {
            addCriterion("gDriverNum in", values, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumNotIn(List<String> values) {
            addCriterion("gDriverNum not in", values, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumBetween(String value1, String value2) {
            addCriterion("gDriverNum between", value1, value2, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdrivernumNotBetween(String value1, String value2) {
            addCriterion("gDriverNum not between", value1, value2, "gdrivernum");
            return (Criteria) this;
        }

        public Criteria andGdriverpicIsNull() {
            addCriterion("gDriverPic is null");
            return (Criteria) this;
        }

        public Criteria andGdriverpicIsNotNull() {
            addCriterion("gDriverPic is not null");
            return (Criteria) this;
        }

        public Criteria andGdriverpicEqualTo(String value) {
            addCriterion("gDriverPic =", value, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicNotEqualTo(String value) {
            addCriterion("gDriverPic <>", value, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicGreaterThan(String value) {
            addCriterion("gDriverPic >", value, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicGreaterThanOrEqualTo(String value) {
            addCriterion("gDriverPic >=", value, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicLessThan(String value) {
            addCriterion("gDriverPic <", value, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicLessThanOrEqualTo(String value) {
            addCriterion("gDriverPic <=", value, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicLike(String value) {
            addCriterion("gDriverPic like", value, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicNotLike(String value) {
            addCriterion("gDriverPic not like", value, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicIn(List<String> values) {
            addCriterion("gDriverPic in", values, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicNotIn(List<String> values) {
            addCriterion("gDriverPic not in", values, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicBetween(String value1, String value2) {
            addCriterion("gDriverPic between", value1, value2, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGdriverpicNotBetween(String value1, String value2) {
            addCriterion("gDriverPic not between", value1, value2, "gdriverpic");
            return (Criteria) this;
        }

        public Criteria andGstatusIsNull() {
            addCriterion("gStatus is null");
            return (Criteria) this;
        }

        public Criteria andGstatusIsNotNull() {
            addCriterion("gStatus is not null");
            return (Criteria) this;
        }

        public Criteria andGstatusEqualTo(String value) {
            addCriterion("gStatus =", value, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusNotEqualTo(String value) {
            addCriterion("gStatus <>", value, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusGreaterThan(String value) {
            addCriterion("gStatus >", value, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusGreaterThanOrEqualTo(String value) {
            addCriterion("gStatus >=", value, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusLessThan(String value) {
            addCriterion("gStatus <", value, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusLessThanOrEqualTo(String value) {
            addCriterion("gStatus <=", value, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusLike(String value) {
            addCriterion("gStatus like", value, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusNotLike(String value) {
            addCriterion("gStatus not like", value, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusIn(List<String> values) {
            addCriterion("gStatus in", values, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusNotIn(List<String> values) {
            addCriterion("gStatus not in", values, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusBetween(String value1, String value2) {
            addCriterion("gStatus between", value1, value2, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGstatusNotBetween(String value1, String value2) {
            addCriterion("gStatus not between", value1, value2, "gstatus");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeIsNull() {
            addCriterion("gCreateTime is null");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeIsNotNull() {
            addCriterion("gCreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeEqualTo(Date value) {
            addCriterion("gCreateTime =", value, "gcreatetime");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeNotEqualTo(Date value) {
            addCriterion("gCreateTime <>", value, "gcreatetime");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeGreaterThan(Date value) {
            addCriterion("gCreateTime >", value, "gcreatetime");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("gCreateTime >=", value, "gcreatetime");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeLessThan(Date value) {
            addCriterion("gCreateTime <", value, "gcreatetime");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("gCreateTime <=", value, "gcreatetime");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeIn(List<Date> values) {
            addCriterion("gCreateTime in", values, "gcreatetime");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeNotIn(List<Date> values) {
            addCriterion("gCreateTime not in", values, "gcreatetime");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeBetween(Date value1, Date value2) {
            addCriterion("gCreateTime between", value1, value2, "gcreatetime");
            return (Criteria) this;
        }

        public Criteria andGcreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("gCreateTime not between", value1, value2, "gcreatetime");
            return (Criteria) this;
        }

        public Criteria andGcolumn1IsNull() {
            addCriterion("gColumn_1 is null");
            return (Criteria) this;
        }

        public Criteria andGcolumn1IsNotNull() {
            addCriterion("gColumn_1 is not null");
            return (Criteria) this;
        }

        public Criteria andGcolumn1EqualTo(String value) {
            addCriterion("gColumn_1 =", value, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1NotEqualTo(String value) {
            addCriterion("gColumn_1 <>", value, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1GreaterThan(String value) {
            addCriterion("gColumn_1 >", value, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1GreaterThanOrEqualTo(String value) {
            addCriterion("gColumn_1 >=", value, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1LessThan(String value) {
            addCriterion("gColumn_1 <", value, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1LessThanOrEqualTo(String value) {
            addCriterion("gColumn_1 <=", value, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1Like(String value) {
            addCriterion("gColumn_1 like", value, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1NotLike(String value) {
            addCriterion("gColumn_1 not like", value, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1In(List<String> values) {
            addCriterion("gColumn_1 in", values, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1NotIn(List<String> values) {
            addCriterion("gColumn_1 not in", values, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1Between(String value1, String value2) {
            addCriterion("gColumn_1 between", value1, value2, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn1NotBetween(String value1, String value2) {
            addCriterion("gColumn_1 not between", value1, value2, "gcolumn1");
            return (Criteria) this;
        }

        public Criteria andGcolumn2IsNull() {
            addCriterion("gColumn_2 is null");
            return (Criteria) this;
        }

        public Criteria andGcolumn2IsNotNull() {
            addCriterion("gColumn_2 is not null");
            return (Criteria) this;
        }

        public Criteria andGcolumn2EqualTo(String value) {
            addCriterion("gColumn_2 =", value, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2NotEqualTo(String value) {
            addCriterion("gColumn_2 <>", value, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2GreaterThan(String value) {
            addCriterion("gColumn_2 >", value, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2GreaterThanOrEqualTo(String value) {
            addCriterion("gColumn_2 >=", value, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2LessThan(String value) {
            addCriterion("gColumn_2 <", value, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2LessThanOrEqualTo(String value) {
            addCriterion("gColumn_2 <=", value, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2Like(String value) {
            addCriterion("gColumn_2 like", value, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2NotLike(String value) {
            addCriterion("gColumn_2 not like", value, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2In(List<String> values) {
            addCriterion("gColumn_2 in", values, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2NotIn(List<String> values) {
            addCriterion("gColumn_2 not in", values, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2Between(String value1, String value2) {
            addCriterion("gColumn_2 between", value1, value2, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn2NotBetween(String value1, String value2) {
            addCriterion("gColumn_2 not between", value1, value2, "gcolumn2");
            return (Criteria) this;
        }

        public Criteria andGcolumn3IsNull() {
            addCriterion("gColumn_3 is null");
            return (Criteria) this;
        }

        public Criteria andGcolumn3IsNotNull() {
            addCriterion("gColumn_3 is not null");
            return (Criteria) this;
        }

        public Criteria andGcolumn3EqualTo(String value) {
            addCriterion("gColumn_3 =", value, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3NotEqualTo(String value) {
            addCriterion("gColumn_3 <>", value, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3GreaterThan(String value) {
            addCriterion("gColumn_3 >", value, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3GreaterThanOrEqualTo(String value) {
            addCriterion("gColumn_3 >=", value, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3LessThan(String value) {
            addCriterion("gColumn_3 <", value, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3LessThanOrEqualTo(String value) {
            addCriterion("gColumn_3 <=", value, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3Like(String value) {
            addCriterion("gColumn_3 like", value, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3NotLike(String value) {
            addCriterion("gColumn_3 not like", value, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3In(List<String> values) {
            addCriterion("gColumn_3 in", values, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3NotIn(List<String> values) {
            addCriterion("gColumn_3 not in", values, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3Between(String value1, String value2) {
            addCriterion("gColumn_3 between", value1, value2, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn3NotBetween(String value1, String value2) {
            addCriterion("gColumn_3 not between", value1, value2, "gcolumn3");
            return (Criteria) this;
        }

        public Criteria andGcolumn4IsNull() {
            addCriterion("gColumn_4 is null");
            return (Criteria) this;
        }

        public Criteria andGcolumn4IsNotNull() {
            addCriterion("gColumn_4 is not null");
            return (Criteria) this;
        }

        public Criteria andGcolumn4EqualTo(String value) {
            addCriterion("gColumn_4 =", value, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4NotEqualTo(String value) {
            addCriterion("gColumn_4 <>", value, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4GreaterThan(String value) {
            addCriterion("gColumn_4 >", value, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4GreaterThanOrEqualTo(String value) {
            addCriterion("gColumn_4 >=", value, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4LessThan(String value) {
            addCriterion("gColumn_4 <", value, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4LessThanOrEqualTo(String value) {
            addCriterion("gColumn_4 <=", value, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4Like(String value) {
            addCriterion("gColumn_4 like", value, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4NotLike(String value) {
            addCriterion("gColumn_4 not like", value, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4In(List<String> values) {
            addCriterion("gColumn_4 in", values, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4NotIn(List<String> values) {
            addCriterion("gColumn_4 not in", values, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4Between(String value1, String value2) {
            addCriterion("gColumn_4 between", value1, value2, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn4NotBetween(String value1, String value2) {
            addCriterion("gColumn_4 not between", value1, value2, "gcolumn4");
            return (Criteria) this;
        }

        public Criteria andGcolumn5IsNull() {
            addCriterion("gColumn_5 is null");
            return (Criteria) this;
        }

        public Criteria andGcolumn5IsNotNull() {
            addCriterion("gColumn_5 is not null");
            return (Criteria) this;
        }

        public Criteria andGcolumn5EqualTo(String value) {
            addCriterion("gColumn_5 =", value, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5NotEqualTo(String value) {
            addCriterion("gColumn_5 <>", value, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5GreaterThan(String value) {
            addCriterion("gColumn_5 >", value, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5GreaterThanOrEqualTo(String value) {
            addCriterion("gColumn_5 >=", value, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5LessThan(String value) {
            addCriterion("gColumn_5 <", value, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5LessThanOrEqualTo(String value) {
            addCriterion("gColumn_5 <=", value, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5Like(String value) {
            addCriterion("gColumn_5 like", value, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5NotLike(String value) {
            addCriterion("gColumn_5 not like", value, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5In(List<String> values) {
            addCriterion("gColumn_5 in", values, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5NotIn(List<String> values) {
            addCriterion("gColumn_5 not in", values, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5Between(String value1, String value2) {
            addCriterion("gColumn_5 between", value1, value2, "gcolumn5");
            return (Criteria) this;
        }

        public Criteria andGcolumn5NotBetween(String value1, String value2) {
            addCriterion("gColumn_5 not between", value1, value2, "gcolumn5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}